package com.xbongbong.pro.statistic.result.pojo.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 资金流转细节
 *
 * @author 徐俊杰
 * @version v1.0
 * @date 2020/3/12 9:41
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FundFlowDetailVO {
    /**
     * 金额
     */
    private double value;
    /**
     * 金额显示
     */
    private String amount;
    /**
     * 名称
     */
    private String name;
    /**
     * 只塞入传参条件，不会传跳转链接
     */
    private String through;
    /**
     * 指标标识
     */
    private String type;
    /**
     *  单位
     */
    private String unit;

    public FundFlowDetailVO(double value, String amount, String name, String type, String through) {
        this.value = value;
        this.amount = amount;
        this.name = name;
        this.through = through;
        this.type = type;
    }

    public FundFlowDetailVO(double value, String amount, String name, String type) {
        this.value = value;
        this.amount = amount;
        this.name = name;
        this.type = type;
    }

    public FundFlowDetailVO(double value, String amount, String name, String through, String type, String unit) {
        this.value = value;
        this.amount = amount;
        this.name = name;
        this.through = through;
        this.type = type;
        this.unit = unit;
    }

    public FundFlowDetailVO() {
    }
}
